package com.ea.common.report.pojo.param;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.web.bind.annotation.RequestParam;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class GetReportSimpleInfoVoListParam {

    @NotBlank(message = "用户id不能为空")
    private String userId;

    private String name;

    private String companyName;

    private String deptName;

    private String positionName;

    private List<Integer> warningTypeList;

    @NotNull(message = "页码不能为空")
    private Integer page;


    @NotNull(message = "每页条数不能为空")
    private Integer pageSize;
}
